import numpy as np


a = np.array([1,2,3,4])
b = np.array((5,6,7,8))
c = np.array([[1,2,3,4],[4,5,6,7],[7,8,9,10]])

print a
print b
print c

print a.shape
print c.shape

c.shape=4,3
print c

c.shape=2,-1
print c

d=a.reshape(2,2)
print a
print d

print np.arange(0,1,0.1)
print np.linspace(0,1,12)
print np.logspace(0,2,20)


